#!/bin/sh
confFile="/app/conf/app.ini"
#ls /
#echo "---------"
#ls /app
#echo "---------"
#ls /app/conf
# echo "---------"
if [ ! -f "$confFile" ]; then
  mkdir -p /app/conf
  cp -r /conf/* /app/conf/
fi
rm -rf /conf
exec ./app